package com.epam.cdp.selenium2.core.ui.locators_map;

import java.util.List;

import javax.xml.bind.JAXBElement;

/**
 * Class for storing data, concerning an Element
 * 
 * @author akhachaturan
 */
public class ElementInfoContainer
{
  private String name;

  private String specifiedXpath;

  private String specifiedXpattern;

  private String[] composite;

  private List<JAXBElement<String>> searchCriterias;

  public ElementInfoContainer( String name, List<JAXBElement<String>> searchCriterias )
  {
    this.name = name;
    this.searchCriterias = searchCriterias;
  }

  public ElementInfoContainer( String name, String xpath, String xpattern )
  {
    this.name = name;
    this.specifiedXpath = xpath;
    this.specifiedXpattern = xpattern;
  }

  public String getName()
  {
    return name;
  }

  public void setName( String name )
  {
    this.name = name;
  }

  public String[] getComposite()
  {
    return composite;
  }

  public void setComposite( String[] composite )
  {
    this.composite = composite;
  }

  public List<JAXBElement<String>> getSearchCriterias()
  {
    return searchCriterias;
  }

  public void setSearchCriterias( List<JAXBElement<String>> searchCriterias )
  {
    this.searchCriterias = searchCriterias;
  }

  public String getSpecifiedXpath()
  {
    return specifiedXpath;
  }

  public void setSpecifiedXpath( String specifiedXpath )
  {
    this.specifiedXpath = specifiedXpath;
  }

  public String getSpecifiedXpattern()
  {
    return specifiedXpattern;
  }

  public void setSpecifiedXpattern( String specifiedXpattern )
  {
    this.specifiedXpattern = specifiedXpattern;
  }
}